Sleep Function
you can use this cool manual js sleep function:
and before the fetch, you can call it like:
await sleep(5000)
const sleep = ms => new Promise(r => setTimeout(r, ms));
and then before the fetch, you can call it like:
await sleep(5000)